From: Colin Walters Date: Wed, 22 Jul 2009 01:27:56 +0000 (-0400) Subject: Fix prototype for shell_app_monitor_get_window_app X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11197 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a7c1ff37291ca9ecfb6618394f4f5e75f048b390;p=gnome-shell.git Fix prototype for shell_app_monitor_get_window_app It contained a stale definition for the old version of _id, it now returns the app. --- diff --git a/src/shell-app-monitor.h b/src/shell-app-monitor.h index 7ed68d05b..1470455f8 100644 --- a/src/shell-app-monitor.h +++ b/src/shell-app-monitor.h @@ -6,6 +6,7 @@ #include #include "window.h" +#include "shell-app-system.h" /* * This object provides monitoring of system application directories (.desktop files) @@ -37,7 +38,7 @@ GType shell_app_monitor_get_type (void) G_GNUC_CONST; ShellAppMonitor* shell_app_monitor_get_default(void); -char *shell_app_monitor_get_window_id (ShellAppMonitor *monitor, MetaWindow *metawin); +ShellAppInfo *shell_app_monitor_get_window_app (ShellAppMonitor *monitor, MetaWindow *metawin); /* Get the most popular applications for a given activity */ GSList *shell_app_monitor_get_most_used_apps (ShellAppMonitor *monitor,